def rate(z):
    r=7.8
    return r*z
z=int(input())
print(rate(z))